package com.lesso.cyg.sunflower.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 员工打卡记录表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dat_attendance_record")
public class DatAttendanceRecord {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    private Long id;

    /**
     * 员工工号
     */
    @TableField("employee_no")
    private String employeeNo;

    /**
     * 打卡时间
     */
    @TableField("check_time")
    private LocalDateTime checkTime;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 删除标识：0-正常，1-删除
     */
    @TableField("del_status")
    @TableLogic
    private Integer delStatus;
}